
function menu_over(i){

	if(i == current_menu)
		return;

	$('#menu_img_'+i).attr('src', 'img/button_top_menu_'+i+'_r.png');

}
function menu_out(i){

	if(i == current_menu)
		return;

	$('#menu_img_'+i).attr('src', 'img/button_top_menu_'+i+'.png');

}
function menu_click(i){

	if(i==1)
		location.href='nddg_db_main.php';
	if(i==2)
		location.href='nddg_talk_main.php';
	if(i==2)
		location.href='nddg_mento_main.php';
}

$(document).ready(function() {

	if(current_menu>0)
	{
		i = current_menu;
		$('#menu_img_'+i).attr('src', 'img/button_top_menu_'+i+'_r.png');
	}
});